package com.yyx.app1.Question_function.Control.petinfo;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.yyx.app1.R;

import org.androidannotations.annotations.EViewGroup;
import org.androidannotations.annotations.ViewById;

/**
 * Created by yuexing on 2015/10/22.
 */
@EViewGroup(R.layout.itemview_petinfo_listhead)
public class Item_PetInfo_ListHead extends LinearLayout {
    @ViewById
    TextView itemview_petinfo_headtext;

    public Item_PetInfo_ListHead(Context context) {
        super(context);
    }

    public Item_PetInfo_ListHead(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public Item_PetInfo_ListHead(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public void bind(String headName)
    {
        itemview_petinfo_headtext.setText(headName);
    }
}
